.known-faults-wrapper {
  padding: 12px 0 0 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  display: flex;

  .types {
    min-width: 220px;
    max-width: 220px;
  }

  .divider {
    margin: 0 12px;
    border-left: 1px solid #dcdfe6;
  }

  .faults-known {
    height: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 5px;
    flex-grow: 1;
    width: 0;

    .header {
      display: flex;
      justify-content: space-between;

      .btn_group {
        display: flex;
        column-gap: 5px;
      }

      .search {
        display: flex;
        column-gap: 5px;

        :deep(.el-input) {
          width: 120px;
        }
      }
    }

    .table {
      max-height: calc(100% - 66px);
    }

    .pagination {
      display: flex;
      justify-content: flex-end;
    }
  }

  .fault_desc_form {
    :deep(.el-textarea) {
      width: 100%;
      .el-textarea__inner {
        width: 100% !important;
        min-height: 75px !important;
        max-height: 250px !important;
      }
    }
  }

  :deep(.el-upload.el-upload--picture-card) {
    width: 40px;
    height: 40px;
  }

  .dialog-footer {
    .btn_dialog {
      color: #fff;
      width: 3.2vw;
    }

    .btn_dialog_Cancel {
      width: 3.2vw;
    }
  }

  .delete_title {
    display: flex;
    align-items: center;

    h4 {
      font-size: 14px;
      margin-left: 10px;
    }
  }

  :deep(.el-form-item) {
    margin-bottom: 12px;
  }

  :deep(.el-upload-list--picture-card .el-upload-list__item) {
    width: 80px;
    height: 80px;
    margin: 0 0 8px 8px;
    display: block;
  }

  :deep(.el-upload-list--picture-card) {
    flex-direction: row-reverse;
    display: flex;
    justify-content: left;
  }

  :deep(.el-upload-list--picture-card .el-upload) {
    width: 80px;
    height: 80px;
  }

  .type-dialog {
    .form-item {
      margin-bottom: 18px;
    }

    .dialog-footer {
      margin: 10px 0;
      margin-top: 20px;
      display: flex;
      justify-content: flex-end;
    }
  }
  :deep(.color_n) {
    color: #999;
  }
  .fault-dialog {
    .form-item {
      margin-bottom: 18px;

      .delect-type {
        width: 100%;
      }
    }

    .dialog-footer {
      margin: 10px 0;
      margin-top: 20px;

      .btn_dialog-delete {
        color: #fff;
        width: 60px;
      }
    }

    .flex-end {
      display: flex;
      justify-content: flex-end;
    }
  }

  .img_view {
    width: 100%;
  }

  .el-tag.el-tag--success {
    --el-tag-text-color: #00c0c0;
    --el-tag-bg-color: #ebf6f6;
    --el-tag-border-color: #ebf6f6;
    --el-tag-hover-color: #00c0c0;
  }

  .el-tag.el-tag--info {
    --el-tag-border-color: var(--el-color-info-light-9);
  }

  .el-tag {
    --el-tag-border-color: var(--el-color-primary-light-9);
  }

  .el-tag.el-tag--warning {
    --el-tag-border-color: var(--el-color-warning-light-9);
  }
}
